package com.cs.cssupplier.service.impl;


import com.cs.cssupplier.domain.CsCodeRules;
import com.cs.cssupplier.domain.CsSupplier;
import com.cs.cssupplier.mapper.CsCodeRulesMapper;
import com.cs.cssupplier.service.CsCodeRulesService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author admin
* @description 针对表【cs_code_rules(编码规则表)】的数据库操作Service实现
* @createDate 2024-11-13 14:45:30
*/
@Service
public class CsCodeRulesServiceImpl implements CsCodeRulesService{
    @Resource
    private CsCodeRulesMapper mapper;

    @Override
    public int insertCodeRules(CsCodeRules csCodeRules) {
        return mapper.insertCodeRules(csCodeRules);
    }

    @Override
    public CsCodeRules selectCodeRulesFrom(String str) {
        return mapper.selectCodeRulesFrom(str);
    }

    @Override
    public int updateCodeRules(CsCodeRules csCodeRules) {
        return mapper.updateCodeRules(csCodeRules);
    }
}




